<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="shortcut icon" href="/static/image/index/shortcutIcon.jpg" type="image/x-icon">
    <script src="/static/js/jquery-1.11.3.js"></script>    
    <title>木石桥-密码</title>
</head>
<body>
    <div id="container">
        <div id="banner">Life is like a box of chocolate, you never konwn what you're gonna get.</div>
        <form action="/password" method="POST" id="password">
            {% csrf_token %}
            <p>
                <i>密码:</i>
                <input type="password" name="password">
            </p> 
            <p>
                <button>Login</button>
            </p>
        </form>
    </div>
    <style>
        #container{
            width: 1024px;
            height: 620px;
            margin: 0 auto;
            background: url('/static/image/password/background.jpg') no-repeat;
            position: relative;
            overflow: hidden;
        }
        #password{
            position: absolute;
            left: 400px;
            top: 180px;
            width: 250px;
            height: 100px;
            background: white;
            border-radius: 8px;
            text-align: center;
        }
        #password button{
            font-family: '华文行楷';
            background: lightblue;
            border: none;
            font-size: 24px;
            cursor: pointer;
            border-radius: 3px 0;
        }
        #banner{
            margin: 20px 15px;
            font-family: '华文行楷';
            font-size: 34px;
            color: white;
        }
    </style>
    {% if err %}
    <script>
        alert('(╥╯^╰╥)~,密码错误!');
    </script>
    {% endif %}
</body>
</html>